package net.maxwoods.springcloud;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@EnableApolloConfig
@Configuration
public class TestConfig {

    @Value("${redis.server}")
    private String redisServer;

    @Value("${mine.test}")
    private String test;

    public String getRedisServer() {
        return redisServer;
    }

    public String getTest() {
        return test;
    }
}
